<form id="pagerForm" action="__URL__" method="post">
	<input type="hidden" name="pageNum" value="1"/>
	<input type="hidden" name="name" value="{$_REQUEST.name}"/>
	<input type="hidden" name="pclassid" value="{$_REQUEST.pclassid}"/>
</form>

<div class="page">
	<div class="pageHeader">
		<form onsubmit="return navTabSearch(this);" action="__URL__" method="post">
		<input type="hidden" name="pageNum" value="1"/>
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>品牌名：</label>
					<input type="text" name="name" value="{$_REQUEST.name}"/>
				</li>
				<li>
					<label>分类：</label>
					<SELECT name="pclassid">
					<option value="">选择分类</option>
					<volist name="pclass" id="vo">
						<option value="{$vo.id}" <eq name="vo.id" value="$_REQUEST.pclassid">selected</eq>>{$vo.title}</option>
					</volist>
					</SELECT>
				</li>
			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
				</ul>
			</div>
		</div>
		</form>
	</div>
	
	<div class="pageContent">
		<div class="panelBar">
			<ul class="toolBar">
				<li><a class="add" href="__URL__/add" target="navTab"><span>新增</span></a></li>
				<li><a class="edit" href="__URL__/edit/id/{sid_brand}" target="navTab" warn="请选择一条记录"><span>编辑</span></a></li>
				<li><a class="delete" href="__URL__/foreverdelete/id/{sid_brand}/navTabId/__MODULE__" target="navTabTodo" title="你确定要删除吗？" warn="请选择一条记录"><span>删除</span></a></li>
			</ul>
		</div>

		<table class="list" width="100%" layoutH="114">
			<thead>
			<tr>
				<th width="60">编号</th>
				<th>品牌名</th>
				<th>英文名</th>
				<th>网址</th>
				<th width="100">logo</th>
				<th width="80">分类</th>
				<th width="100">添加时间</th>
				<th width="60">状态</th>
				<th width="60">排序值</th>
				<th width="100">URL重写</th>
				<th width="80">操作</th>
			</tr>
			</thead>
			<tbody>
			<volist id="vo" name="list">
				<tr target="sid_brand" rel="{$vo['id']}">
					<td>{$vo['id']}</td>
					<td>{$vo['name']}</td>
					<td>{$vo['en_name']}</td>
					<td><notempty name="vo.logo"><img src="__PUBLIC__/Upload/brand/{$vo.logo}" /></notempty></td>
					<td>{$vo['pclassid']|getPclassName}</td>
					<td>{$vo['dateline']|date="Y-m-d",###}</td>
					<td>{$vo['status']|getStatus}</td>
					<td>{$vo['sort']}</td>
					<td>{$vo['rewrite']}</td>
					<td>{$vo['status']|showStatus=$vo['id']}</td>
				</tr>
			</volist>
			</tbody>
		</table>

		<div class="panelBar">
			<div class="pages">
				<span>共{$totalCount}条</span>
			</div>
			<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
		</div>

	</div>
	
</div>

